Skip to content

feat(keepiq): build portability-export-choice-and-restore-fidelity - #1900

Open
rubenvdlinde wants to merge 2 commits into
developmentfrom
quality/build-portability-export-choice-and-restore-fidelity-r2
Open

rubenvdlinde wants to merge 2 commits into
developmentfrom
quality/build-portability-export-choice-and-restore-fidelity-r2

Conversation

@rubenvdlinde

Copy link
Copy Markdown
Contributor

Round 2 of openspec/changes/portability-export-choice-and-restore-fidelity.

Built

  • 1.2 The export dialog offers entire vault, chosen folders, chosen types and (from the list) the selected items, plus Leave out (usernames, additional fields, authenticator seeds). src/export/exportScope.js builds the scope; the dialog now passes the vault's types to the serializer for every format, so a backup carries typeName/typeLabel (before this, the dialog passed no options, so the 1.1 type names were never written from the UI).
  • 1.3 Export selected on the selection strip opens the dialog on the selection. The skipped count from decryptAllSecrets() was already returned and shown.
  • 2.2 The type resolution was already in import.js; vitest now covers every branch (system name, own custom type, created once and reused, old backup's id, fallback naming the row).
  • 3.1 docs/gdpr.md and docs/importing.md.
  • tests/e2e/workflows/export-choice.spec.ts: Export selected writes exactly three; one chosen type with usernames left out; the fresh-user restore round trip is a test.fixme (not written yet).

Left unticked, and why

  • 1.2, 1.3, 2.2: the Playwright flows have not run against a live instance (none in this session); the round-trip flow is not written. 1.3 also owes a vitest for the decrypt-failure count.
  • 3.1: docs build not run.

Tests

  • vitest: new tests/vitest/export-scope.spec.js (7) and tests/vitest/import-resolveRowTypes.spec.js (5); dialog tests updated to the new scope and options; goldens re-recorded with only the added controls in the diff. Whole suite: 7176 tests, 3 failures in HealthReportView.controls.spec.js, red on development too.
  • l10n: EN and NL for the new strings, browser catalogues rebuilt.

Generated by Claude Code

…kip ci]

The export dialog offers the entire vault, chosen folders, chosen types or
the current selection, and fields to leave out, and hands the vault's
types to the serializer so a backup names them. Export selected on the
selection strip opens it on the selection. vitest for buildScope() against
the real serializer and for every branch of the restore's type
resolution; docs for scope, fields and restore order; a workflow e2e.

Assisted-by: ClaudeCode:claude-opus-5-5
…kip ci]

Write the restore round trip e2e: a fresh user restores another fresh
user's encrypted backup and every secret keeps its type, the custom one
recreated by name. Ran the docs build; recorded that the decrypt-failure
count already has its vitest.

Assisted-by: ClaudeCode:claude-opus-5-5

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant